package oop.controller.action;

import oop.conf.Config;

public class ActionUtil {

	public static String getActionURL(String name) {
		Config config = Config.get();
		return config.getHomeDir() + config.getActionPath() + "/" + name;
	}

	public static String getActionURL(String name, String query) {
		return getActionURL(name) + "?" + query;
	}
	
}
